<!--{$fsc->busqueda}-->

{if condition="$fsc->get_errors()"}
   <div class="bg-error">
      {loop="$fsc->get_errors()"}<li>{$value}</li>{/loop}
   </div>
{/if}
{if condition="$fsc->get_messages()"}
   <div class="bg-warning">
      {loop="$fsc->get_messages()"}<li>{$value}</li>{/loop}
   </div>
{/if}

<div class="table-responsive">
   <table class="table table-hover">
      <tr>
         <th class="text-left">Código</th>
         <th class="text-left">Nombre</th>
         <th class="text-left">{#FS_CIFNIF#}</th>
         <th class="text-left">Observaciones</th>
      </tr>
      {loop="$fsc->resultado"}
      <tr>
         <td><a href="{$fsc->url()}&cliente={$value->codcliente}">{$value->codcliente}</a></td>
         <td>{$value->nombre}</td>
         <td>{$value->cifnif}</td>
         <td>{$value->observaciones_resume()}</td>
      </tr>
      {else}
      <tr class="bg-warning">
         <td colspan="4">Sin resultados.</td>
      </tr>
      {/loop}
   </table>
</div>
